﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000287 RID: 647
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueQueryAeonInfo : IMessage<ChessRogueQueryAeonInfo>, IMessage, IEquatable<ChessRogueQueryAeonInfo>, IDeepCloneable<ChessRogueQueryAeonInfo>, IBufferMessage
	{
		// Token: 0x17000871 RID: 2161
		// (get) Token: 0x06001D01 RID: 7425 RVA: 0x00052BFD File Offset: 0x00050DFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueQueryAeonInfo> Parser
		{
			get
			{
				return ChessRogueQueryAeonInfo._parser;
			}
		}

		// Token: 0x17000872 RID: 2162
		// (get) Token: 0x06001D02 RID: 7426 RVA: 0x00052C04 File Offset: 0x00050E04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueQueryAeonInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000873 RID: 2163
		// (get) Token: 0x06001D03 RID: 7427 RVA: 0x00052C16 File Offset: 0x00050E16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueQueryAeonInfo.Descriptor;
			}
		}

		// Token: 0x06001D04 RID: 7428 RVA: 0x00052C1D File Offset: 0x00050E1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryAeonInfo()
		{
		}

		// Token: 0x06001D05 RID: 7429 RVA: 0x00052C30 File Offset: 0x00050E30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryAeonInfo(ChessRogueQueryAeonInfo other) : this()
		{
			this.aeonList_ = other.aeonList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001D06 RID: 7430 RVA: 0x00052C5A File Offset: 0x00050E5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryAeonInfo Clone()
		{
			return new ChessRogueQueryAeonInfo(this);
		}

		// Token: 0x17000874 RID: 2164
		// (get) Token: 0x06001D07 RID: 7431 RVA: 0x00052C62 File Offset: 0x00050E62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ChessRogueQueryAeon> AeonList
		{
			get
			{
				return this.aeonList_;
			}
		}

		// Token: 0x06001D08 RID: 7432 RVA: 0x00052C6A File Offset: 0x00050E6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueQueryAeonInfo);
		}

		// Token: 0x06001D09 RID: 7433 RVA: 0x00052C78 File Offset: 0x00050E78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueQueryAeonInfo other)
		{
			return other != null && (other == this || (this.aeonList_.Equals(other.aeonList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001D0A RID: 7434 RVA: 0x00052CAC File Offset: 0x00050EAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.aeonList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001D0B RID: 7435 RVA: 0x00052CE0 File Offset: 0x00050EE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001D0C RID: 7436 RVA: 0x00052CE8 File Offset: 0x00050EE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001D0D RID: 7437 RVA: 0x00052CF1 File Offset: 0x00050EF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.aeonList_.WriteTo(ref output, ChessRogueQueryAeonInfo._repeated_aeonList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001D0E RID: 7438 RVA: 0x00052D18 File Offset: 0x00050F18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.aeonList_.CalculateSize(ChessRogueQueryAeonInfo._repeated_aeonList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001D0F RID: 7439 RVA: 0x00052D51 File Offset: 0x00050F51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueQueryAeonInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.aeonList_.Add(other.aeonList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001D10 RID: 7440 RVA: 0x00052D7F File Offset: 0x00050F7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001D11 RID: 7441 RVA: 0x00052D88 File Offset: 0x00050F88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 82U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.aeonList_.AddEntriesFrom(ref input, ChessRogueQueryAeonInfo._repeated_aeonList_codec);
				}
			}
		}

		// Token: 0x04000BFC RID: 3068
		private static readonly MessageParser<ChessRogueQueryAeonInfo> _parser = new MessageParser<ChessRogueQueryAeonInfo>(() => new ChessRogueQueryAeonInfo());

		// Token: 0x04000BFD RID: 3069
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000BFE RID: 3070
		public const int AeonListFieldNumber = 10;

		// Token: 0x04000BFF RID: 3071
		private static readonly FieldCodec<ChessRogueQueryAeon> _repeated_aeonList_codec = FieldCodec.ForMessage<ChessRogueQueryAeon>(82U, ChessRogueQueryAeon.Parser);

		// Token: 0x04000C00 RID: 3072
		private readonly RepeatedField<ChessRogueQueryAeon> aeonList_ = new RepeatedField<ChessRogueQueryAeon>();
	}
}
